package com.ozo.easy.common.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 批量操作对象
 *
 * @author ozo
 * @date 2025-01-06
 */
@Schema(description = "批量操作对象")
@Data
@NoArgsConstructor
public class BaseBatchDTO<T> {

    @NotEmpty(message = "id不能为空")
    @Schema(description = "id列表")
    private List<T> idList;

}
